package com.gmp.thewizard;

import android.graphics.Color;
import android.graphics.Paint;

public class Obstacle {

	protected float x;
	protected float y;
	protected float radius;
	protected Paint color;
	
	public Obstacle(float x, float y, float radius){
		this.x = x;
		this.y = y;
		this.radius = radius;
		this.color = new Paint(Paint.ANTI_ALIAS_FLAG);
		this.color.setColor(Color.CYAN);
	}
	
	public Obstacle(float x, float y, float radius, int color){
		this.x = x;
		this.y = y;
		this.radius = radius;
		this.color = new Paint(Paint.ANTI_ALIAS_FLAG);
		this.color.setColor(color);
	}
	
	public String toString(){
		return "{" + this.x + ", " + this.y + ", " + this.radius + ", " + this.color + "}";
	}
}
